﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    <script charset="utf-8" src="/resources/scripts/ajaxfileupload.js"></script>
}
@using AFT.Parking.Entity
@model ScheduleRecord
<div class="content-box">
    <!-- Content box header -->
    <div class="content-box-header clearfix">
        <h3>添加进度管理</h3>
    </div>

    <!-- Content box body -->
    <div class="content-box-content">
        <div class="tab-content default-tab" id="tab2">
            <form class="material-form" method="post" id="frm">
                <div class="x-tab-item">
                    @Html.Hidden("Id", Model.Id)
                    @Html.Hidden("TagId", Model.TagId)
                    @Html.Hidden("CreatorId", Model.CreatorId)
                    @Html.Hidden("CreateTime", Model.CreateTime)
                    <p>
                        <label>进度名称</label>
                        @Html.TextBox("Name", Model.Name, new { @class = "text-input x-input" })
                    </p>
                    <p>
                        <label>二维码名称</label>
                        @if (Model.Id > 0)
                        {
                            @Html.TextBox("TagName", Model.TagName, new { @class = "text-input x-input", @readonly = "readonly", style = "background: #E4E4E4;cursor:not-allowed" })
                        }
                        else
                        {
                            @Html.TextBox("TagName", Model.TagName, new { @class = "text-input x-input" })
                        }

                    </p>
                    <p>
                        <label>楼栋编号</label>
                        @Html.TextBox("BuildingNo", Model.BuildingNo, new { @class = "text-input x-input" })
                    </p>
                    <p>
                        <label>
                            <span class="label-left x-contacter">楼栋负责人</span>
                            <span class="label-left x-contact-num">联系方式</span>
                        </label>
                        <input type="text" name="BuildingManager" value="@Model.BuildingManager" class="text-input x-contacter" placeholder="楼栋负责人姓名" />
                        <input type="text" name="BuildingManagerNum" value="@Model.BuildingManagerNum" class="text-input x-contact-num" placeholder="楼栋负责人联系方式" />
                    </p>
                    <p>
                        <label>
                            <span class="label-left x-contacter">班组负责人</span>
                            <span class="label-left x-contact-num">联系方式</span>
                        </label>
                        <input type="text" name="TeamManager" value="@Model.TeamManager" class="text-input x-contacter" placeholder="班组负责人姓名" />
                        <input type="text" name="TeamManagerNum" value="@Model.TeamManagerNum" class="text-input x-contact-num" placeholder="班组负责人联系电话" />
                    </p>
                    <p>
                        <label>进度详情</label>
                        @Html.TextArea("Description", Model.Description, new { @class = "text-input x-input" })
                    </p>
                </div>

                <div class="x-btns">
                    <input class="button x-btn" type="submit" id="btnSubmit" value="&nbsp;保 存&nbsp;" />
                    <input class="button x-btn" type="button" id="btnBack" value="&nbsp;返 回&nbsp;" /> <br />
                    <span class="input-notification @ViewBag.Icon png_bg">@ViewBag.Message</span>
                    <input type="hidden" id="hd_backUrl" value="@Url.Action("List")">
                </div>
            </form>
        </div>
    </div>
</div>

